package com.xiang.doman;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_account")
public class Account {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private String name;
    private Double money;
    //记录预留资源值
    private Double transfer;
}
